﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using BusinessCommon.DTO;

namespace DataAccess.Implementation
{
    public interface IUserLogin
    {

        /// <summary>
        /// 
        /// </summary>
        /// <returns></returns>
        List<UserDto> GetUserTest();

        /// <summary>
        /// 
        /// </summary>
        /// <param name="userName"></param>
        /// <param name="passWord"></param>
        /// <returns></returns>
        UserDto GetUserLogin(String userName, String passWord);

        /// <summary>
        /// Insert login log
        /// </summary>
        /// <param name="login_log_tbl">login_log_tbl</param>
        /// <returns>True: Success, False: Fail</returns>
        bool InsertLoginLog(LOGIN_LOG_TBL login_log_tbl);

        /// <summary>
        /// Insert login log
        /// </summary>
        /// <param name="tantou_mst">tantou_mst</param>
        /// <returns>True: Success, False: Fail</returns>
        void UpdatePassWord(TANTOU_MST tantou_mst);
    }
}
